DiSet

 

The 'DiSet' function changes the current value of AI Memory tag.

 

void @DiSet(string tag, int value);

 

Parameters

string tag : Name of DI Memory tag.

int  value : New value that you want to set.

 

Return Value

None

 

Example

@DiSet("di_vir01", ON);

Description : The above statement changes the current value of DI Memory tag named 'di_vir01' into 'ON'.

   

$di_vir01 = ON;

Even if you write statement as above, the result is the same.